import { IForm } from '@/base-ui/form/types'
export const searchFormConfig: IForm = {
  formItems: [
    {
      label: '用户名',
      placeholder: '请输入用户名',
      type: 'input',
      field: 'name'
    },
    {
      label: '密码',
      placeholder: '请输入密码',
      type: 'password',
      field: 'password'
    },
    {
      label: '喜欢的运动',
      placeholder: '请输入喜欢的运动',
      type: 'select',
      field: 'sport',
      options: [
        {
          value: 'Option1',
          label: 'Option1'
        },
        {
          value: 'Option2',
          label: 'Option2'
        },
        {
          value: 'Option3',
          label: 'Option3'
        }
      ]
    },
    {
      label: '创建时间',
      type: 'datepicker',
      field: 'time',
      otherOptions: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    }
  ],
  itemStyle: { padding: '10px 40px' }
}
